﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Administrator/Site1.Master" AutoEventWireup="true"
    CodeBehind="AddNews.aspx.cs" Inherits="TIS.Administrator.AddNews" %>

<%@ Register TagPrefix="FCKeditorV2" Namespace="FredCK.FCKeditorV2" Assembly="FredCK.FCKeditorV2, Version=2.6.3.22452, Culture=neutral, PublicKeyToken=4f86767c9b519a06" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="workplace">
        <div class="row-fluid">
            <div class="span12">
                <div class="head">
                    <div class="isw-documents">
                    </div>
                    <h1>
                        Thêm mới tin tức</h1>
                    <div class="clear">
                    </div>
                </div>
                <div class="block-fluid">
                    <div class="row-form">
                        <div class="span2">
                            Tiêu đề</div>
                        <div class="span4">
                            <asp:TextBox runat="server" ID="txtTitle"></asp:TextBox>
                        </div>
                        <div class="clear">
                        </div>
                    </div>
                     <div class="row-form">
                        <div class="span2">
                            Ngôn ngữ
                        </div>
                        <div class="span4">
                           <asp:DropDownList runat="server" ID="ddlLanguage" AutoPostBack="True" 
                                onselectedindexchanged="ddlLanguage_SelectedIndexChanged"></asp:DropDownList> 
                        </div>
                        <div class="clear">
                        </div>
                    </div>
                    <div class="row-form">
                        <div class="span2">
                            Danh mục
                        </div>
                        <div class="span4">
                            <asp:DropDownList runat="server" ID="ddlCategory">
                            </asp:DropDownList>
                        </div>
                        <div class="clear">
                        </div>
                    </div>
                    <div class="row-form">
                        <div class="span2">
                            Ảnh bài viết
                        </div>
                        <div class="span4">
                            <asp:FileUpload ID="fileUpload" runat="server" />
                        </div>
                        <div class="clear">
                        </div>
                    </div>
                    <div class="row-form">
                        <div class="span2">
                            Miêu tả</div>
                        <div class="span9">
                            <asp:TextBox runat="server" TextMode="MultiLine" ID="txtDescription"></asp:TextBox>
                        </div>
                        <div class="clear">
                        </div>
                    </div>
                    
                    <div class="row-form">
                        <div class="span2">
                            Nội dung
                        </div>
                        <div class="span9">
                            <FCKeditorV2:FCKeditor runat="server" Height="350px" ID="fckContent">
                            </FCKeditorV2:FCKeditor>
                        </div>
                        <div class="clear">
                        </div>
                    </div>

                    <div class="row-form">
                        <div class="span2">
                            Miêu tả meta tiêu đề</div>
                        <div class="span9">
                            <asp:TextBox runat="server"  ID="txtMetaTitle"></asp:TextBox>
                        </div>
                        <div class="clear">
                        </div>
                    </div>
                    <div class="row-form">
                        <div class="span2">
                            Miêu tả meta nội dung</div>
                        <div class="span9">
                            <asp:TextBox runat="server" TextMode="MultiLine" ID="txtMetaDescription"></asp:TextBox>
                        </div>
                        <div class="clear">
                        </div>
                    </div>
                    <div class="row-form">
                        <div class="span2">
                            Miêu tả meta từ khóa</div>
                        <div class="span9">
                            <asp:TextBox runat="server"  ID="txtMetaKeyword"></asp:TextBox>
                        </div>
                        <div class="clear">
                        </div>
                    </div>
                    <div class="row-form">
                        <div class="span2">
                            SEO Url</div>
                        <div class="span9">
                            <asp:TextBox runat="server" ID="txtSEOUrl"></asp:TextBox>
                        </div>
                        <div class="clear">
                        </div>
                    </div>
                    <div class="row-form">
                        <div class="span2">
                            Hiển thị
                        </div>
                        <div class="span4">
                            <label class="checkbox inline">
                                <asp:RadioButton runat="server" GroupName="cbStatus" Checked="True" ID="cbDisplay" />
                                Hiển thị
                            </label>
                            <label class="checkbox inline">
                                <asp:RadioButton runat="server" GroupName="cbStatus" Checked="False" ID="cbHide" />
                                Ẩn
                            </label>
                        </div>
                        <div class="clear">
                        </div>
                    </div>
                    <div class="row-form">
                        <div class="span2">
                            Cập nhập thời gian
                        </div>
                        <div class="span4">
                            <label class="checkbox inline" style="width : 600px;">
                                <asp:CheckBox ID="ckbDateTime" runat="server" />
                                
                                 (Nếu bạn chọn ô này thì tin tức của bạn sẽ được cập nhập theo giờ hệ thống. Tin tức sẽ là mới nhất)
                            </label>
                           
                            
                        </div>
                        <div class="clear">
                        </div>
                    </div>
                    
                    <div class="row-form" style="text-align: center;">
                        <div class="span2">
                           
                        </div>
                        <div class="span4">
                         <asp:Button runat="server" ID="btnAddnew" Text="Lưu lại" Height="30px" CssClass="btn" 
                                onclick="btnAddnew_Click" />
                          <asp:Button runat="server" ID="btnCancel" Text="Làm lại" Height="30px" CssClass="btn" 
                                PostBackUrl="~/Administrator/AddNews.aspx" />
                        </div>
                        <div class="clear">
                        </div>
                    </div>
                    <div class="row-form">
                        <asp:Literal ID="Literal1" runat="server"></asp:Literal>
                        <%--<div class="alert alert-success">
                                <h4>
                                    Success!</h4>
                                You successfully read this successful alert message.
                            </div>--%>
                        <div class="clear">
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</asp:Content>
